package com.nwpu.coursesupport.entity;

import java.util.Date;

import com.nwpu.coursesupport.enumeration.Useless_InformType;
import com.nwpu.coursesupport.enumeration.RoleType;

public class Inform /**extends BaseEntity**/{

	private Useless_InformType type;
	private String title;
	private String content;
	private String sendTo;
	//private List<Item> sendTos;
	private Integer createId;
	private String createName;
	private RoleType roleType;
	private Date createDate;

	public Useless_InformType getType() {
		return type;
	}
	public void setType(Useless_InformType type) {
		this.type = type;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSendTo() {
		return sendTo;
	}
	public void setSendTo(String sendTo) {
		this.sendTo = sendTo;
	}
	/*public List<Item> getSendTos() {
		return sendTos;
	}
	public void setSendTos(List<Item> sendTos) {
		this.sendTos = sendTos;
	}
	public Integer getCreateId() {
		return createId;
	}*/
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	public String getCreateName() {
		return createName;
	}
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	public RoleType getRoleType() {
		return roleType;
	}
	public void setRoleType(RoleType roleType) {
		this.roleType = roleType;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public static class Item{
		private String id;
		private RoleType roleType;
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public RoleType getRoleType() {
			return roleType;
		}
		public void setRoleType(RoleType roleType) {
			this.roleType = roleType;
		}
		
	}
}

